// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import App from './App'
import router from './router'
import HP from './common/hp.js'
// import { Lazyload } from 'mint-ui'

// //默认配置
// Vue.use(Lazyload);

// 定制化
// Vue.use(Lazyload, {
//   preLoad: 1.3,
//   error: './assest/logo.png',
//   loading: './assest/logo.png',
//   attempt: 1
// })
Vue.prototype.hp = HP
Vue.config.productionTip = false
Vue.use(MintUI)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
